package com.njtoyo.taxi.admin.mongo.entity.primary;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection = "device_log")
@Data
@Accessors(chain = true)
@NoArgsConstructor
public class DeviceLogMongo {
    /**
     * 主键
     */
    @Id
    private ObjectId id;

    private Long fromId;

    private String messageContent;

    private String deviceInfo;


}
